#include <bits/stdc++.h>

typedef long long ll;

using namespace std;



int main()
{
   freopen("duel.in","r",stdin);
   freopen("duel.out","w",stdout);

    int n;
    int a[n+5];
    bool kill[n+5];
    bool die[n+5];




    cin>>n;
    for(int i=0;i<n;i++){
        cin>>a[i];
    }
    sort(a,a+n);

    for(int i=0;i<n;i++){
        kill[i]=0;
        die[i]=0;
    }

    int cnt=0;

    for(int i=0;i<n;i++){
            for(int j=i;j<n;j++){
                if((die[i]==0)&&(kill[j]==0)&&(a[j]>a[i])){


                cnt++;
                die[i]=1;
                kill[j]=1;

              //  cout<<i<<" "<<j<<endl;
                    break;


        }


            }
    }



    int ans=n-cnt;

    cout<<ans<<endl;


/*
    for(int i=0;i<n;i++){
        cout<<a[i]<<" ";
    }
    cout<<endl;
*/

    return 0;
}
